package com.xlp.service;

import com.xlp.B;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class TestServiceImpl2 implements TestService<Object>{
    //@Autowired
    private TestService<String> testService;

    public TestService<String> getTestService() {
        return testService;
    }

    @Autowired
    public void setTestService(TestService<String> testService){
        this.testService = testService;
    }
}
